//
//  PositionHeaderCollectionReusableView.m
//  一点互助
//
//  Created by rimi on 16/8/26.
//  Copyright © 2016年 zhangboqiu. All rights reserved.
//

#import "PositionHeaderCollectionReusableView.h"

@implementation PositionHeaderCollectionReusableView

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}
-(void)setModel:(PositionModel *)model{
    self.headerWord.text = model.code;
}
-(void)layoutSubviews{
    [super layoutSubviews];
    self.headerWord.layer.cornerRadius = self.headerWord.bounds.size.height/2;
    self.headerWord.layer.masksToBounds = YES;
}
@end
